package com.chenxiao.Decorator;

/**
 * @Author: CX
 * @Date: Created in  2024/04/03 9:33
 * @version: v1.0
 * @Description: TODO
 **/
public class ConcreteDecoratorA extends Decorator{

    ConcreteDecoratorA(Component component) {
        super(component);
    }

    @Override
    public void operation() {
        System.out.println("具体装饰器A操作前");
        component.operation();
        System.out.println("具体装饰器A操作后");
    }
}
